
//
//================================
//1.	
//2.
//
//Write by Artur Ataev (STEP-ODESA-11.06-01.07.2014)
//mail: art.post.ua@gmail.com
//
//d1 cb c0 c2 c0 20 d3 ca d0 c0 af cd b2 20 21

#include <iostream>
#include <ctime>
#include <cstdlib>
#include <stdio.h>
#include <string.h>
#include <windows.h>
#include <conio.h>


using namespace std;

//#include "..\..\lib\src_func\a_graf.cpp"
#include "date.h"
#include "date.cpp"
//#include "strings.h"
//#include "strings.cpp"


main(void)
{

	
Date B(10);
cout << "GET: " << B.Get() << endl << endl;
Date A(30);
cout << "GET: " << A.Get() << endl << endl;

//B-A;
cout << "GET: " << A.Get() << endl << endl;
cout << "GET: " << B.Get() << endl << endl;


Date C(12,05,1982);
Date D(13,03,1992);
cout << "C= " << C.Get() << endl << endl;
cout << "D= " << D.Get() << endl << endl;
//D-C;
cout << "D-C= " << D-C << endl << endl;


Date BD(12,05,1982);
Date _BD(BD.Get_Days());
cout << "BD= " << BD.Get() << endl << endl;
cout << "_BD= " << _BD.Get() << endl << endl;


/*
for (size_t i= 0; i< 365; ++i)
{
	cout << "GET: [" << B.Get_LY() << "]" << B.Get() << " (" << B.Get_Days() << ")"<< endl;
	B + 365;
}

*/




//cout << "GET: " << B.Get() << endl;
//B + 61;
//cout << "GET: " << B.Get() << endl;

//A = A + 1205;
//cout << A.ERA << endl;
//cout << A.DD << endl;
//cout << A.MM << endl;
//cout << A.YY << endl;
//B.Show();
//A.Show();
//A.Show_Str();
//cout << "GET: " << A.Get();




_getch();

}





